[all]
copyright=(C) 2005, cFos Software GmbH
designer=Ingo Guenther
version=cFosSkin V1.0
type=net,comport
name=Aquarium Numerical
background=back.png
blend_time=300
blend_out_time=500
transparentcolor=255,0,0

; font definitions
[numchars]
fontbitmap=num_chars.png
framewidth=4
frameheight=7
fontbitmapchars=0 123456789

[numchars2]
fontbitmap=num_chars2.png
framewidth=4
frameheight=6
fontbitmapchars=0 123456789

[numchars3]
fontbitmap=num_chars3.png
framewidth=5
frameheight=8
fontbitmapchars=0 123456789KMGT.?

; background animation
[disp1]
value=open
method=motion
rect=9,13,55,37
bitmap=backani.png
min=1
max=1
updatetime=80
idleframe=0
pause=1600

;cps meters total
[disp2]
products=cfosspeed
value=total_rx_speed
method=history
updatetime=120
historysize=1
hdisp1=rx_speed_disp_t

[rx_speed_disp_t]
method=animation
rect=0,0,59,41
bitmap=rxmeter.png
min=0
max=100
frames=1
break1=1
frames2=10
alpha_val=100

[disp3]
products=cfosspeed
value=total_tx_speed
method=history
updatetime=120
historysize=1
hdisp1=tx_speed_disp_t

[tx_speed_disp_t]
method=animation
rect=3,8,59,41
bitmap=txmeter.png
min=0
max=100
frames=1
break1=1
frames2=10
alpha_val=100

;cps meters local
[disp4]
value=rx_speed
method=history
updatetime=120
historysize=1
hdisp1=rx_speed_disp

[rx_speed_disp]
method=animation
rect=0,0,59,41
bitmap=rxmeter.png
min=0
max=100
frames=1
break1=1
frames2=10

[disp5]
value=tx_speed
method=history
updatetime=120
historysize=1
hdisp1=tx_speed_disp

[tx_speed_disp]
method=animation
rect=3,8,59,41
bitmap=txmeter.png
min=0
max=100
frames=1
break1=1
frames2=10

;budget
[disp6]
value=budget_level
method=animation
rect=55,24,57,39
bitmap=budget2.png
min=0
max=100
frames=15
updatetime=80

; text display sections
[disp7]
value=rx_speed
method=text
rect=47,2,59,9
font=numchars
digits=3
format=r
flags=b
transform1=50,0,0,70,255,255,30,0,0,31,255,150
enabled=0

[disp8]
value=tx_speed
method=text
rect=47,8,59,15
font=numchars
digits=3
format=r
flags=b
transform1=43,0,0,45,255,255,117,0,0,118,255,255
enabled=0

[disp9]
value=rx_cps
method=text
rect=20,23,50,31
font=numchars3
digits=6
style=d
decimals=1
format=r
flags=z
fillchar=.
unitchar=?
transform1=50,0,0,70,255,255,30,0,0,31,255,255

; animated down arrow when no traffic unit character is displayed
[disp10]
value=rx_cps
method=motion
rect=45,23,50,31
bitmap=a_down.png
min=0
max=999
frames=14
updatetime=40
idleframe=1
pause=800
transform1=50,0,0,70,255,255,30,0,0,31,255,255

[disp11]
value=rx_data_cnt
method=animation
rect=15,23,18,38
bitmap=traffic.png
mod=14
frames=14
min=0
max=13
transform1=50,0,0,70,255,255,30,0,0,31,255,255

[disp12]
value=tx_cps
method=text
rect=20,31,50,39
font=numchars3
digits=6
style=d
decimals=1
format=r
flags=z
fillchar=.
unitchar=?
transform1=50,0,0,70,255,255,120,0,0,121,255,230

; animated up arrow when no traffic unit character is displayed
[disp14]
value=tx_cps
method=motion
rect=45,31,50,39
bitmap=a_up.png
min=0
max=999
frames=14
updatetime=40
idleframe=1
pause=800
transform1=50,0,0,70,255,255,120,0,0,121,255,230

[disp15]
value=tx_data_cnt
method=animation
rect=51,23,54,38
bitmap=traffic.png
mod=14
frames=14
min=0
max=13
transform1=50,0,0,70,255,255,120,0,0,121,255,230

[disp16]
value=ping_time
method=text
rect=20,17,32,23
font=numchars2
digits=3
format=r
flags=b
style=e
transform1=50,0,0,70,255,255,200,0,0,201,64,255

;low latency display
[disp17]
value=latency
method=motion
bitmap=low_lat_n.png
rect=32,16,40,23
min=1
max=1
idleframe=1
enabled=0

;low latency locked
[disp18]
value=latency
method=motion
bitmap=lat_lock_n.png
rect=32,16,40,23
min=1
max=1
updatetime=100
idleframe=1
enabled=0
pause=1000

;switch on low latency lock
[disp19]
method=activearea
bitmap=switch.png
rect=31,15,40,22
action=spdcmd
target=gset latency 1 -save
blend_time=250
enabled=0

;switch off low latency lock
[disp20]
method=activearea
bitmap=switch.png
rect=31,15,40,22
action=spdcmd
target=gset latency 2 -save
blend_time=250
enabled=0

;activate low latency display / lock on switch
[disp21]
method=activate
value=latency_mode
min=2
max=2
target=disp17,disp19
enabled=0

;activate low latency locked / lock off switch
[disp22]
method=activate
value=latency_mode
min=1
max=1
target=disp18,disp20
enabled=0

[disp23]
value=tcp_cnt
method=text
rect=40,17,52,23
font=numchars2
digits=3
format=r
flags=b
transform1=50,0,0,70,255,255,50,0,0,70,230,220

;open connection console
[disp24]
method=activearea
bitmap=switch2.png
rect=41,15,50,22
action=exec
target=mshta.exe
parameters="~p\pub\console.htm"
blend_time=250
enabled=0

; active areas for toggling text/graphical displays

; toggle speed meter
[disp25]
method=activearea
bitmap=switch.png
rect=50,12,59,19
action=toggle
target=disp7,disp8
blend_time=250
enabled=0

; open box when online
[disp26]
products=cfosspeed
value=open
method=slider
rect=7,11,59,41
bitmap=open.png
scale=31
min=0
max=31
stepsize=1
frames=32
updatetime=40

[disp27]
products=cfos
value=open
method=slider
rect=7,11,59,41
bitmap=open2.png
scale=31
min=0
max=31
stepsize=1
frames=32
updatetime=40

; deactivate toggle buttons if box not open
[disp28]
value=open
method=activate
min=1
max=1
target=disp21,disp22,disp24,disp25

[disp27]
value=expired
method=animation
bitmap=no_way.png
rect=19,7,51,40
min=0
max=1
frames=2

; activate message button
[disp40]
products=cfosspeed
method=activate
value=msg_avail
min=1
max=1
target=disp41

[disp41]
products=cfosspeed
method=activearea
bitmap=message.png
rect=10,12,55,40
action=show_message
print_allowed=0
regions=0
blend_in=128
blend_time=200
